package com.hongdee.crm.sale.entity;

import com.hongdee.annotation.ExcelData;
import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TCrmCarSale
 * 类  型: class
 * 描  述:
 * 路  径:com.hongdee.crm.sale.entity.TCrmCarSale;
 * 作  者: 术洪超
 * 日  期:2017-02-15 09:00
 */

@Entity
@Table(name = "T_CRM_CAR_SALE")
public class TCrmCarSale extends BaseEntity {

    //车主姓名
    @ExcelData("车主姓名")
    @Column(name = "owner_name", length = 128, columnDefinition = "VARCHAR(128) COMMENT '车主姓名'")
    private String ownerName;

    //车主性别
    @ExcelData("车主性别")
    @Column(name = "owner_gender", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车主性别'")
    private String ownerGender;

    //车主电话
    @ExcelData("车主电话")
    @Column(name = "owner_phone", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车主电话'")
    private String ownerPhone;

    //出生日期
    @ExcelData("出生日期")
    @Column(name = "birthday", length = 32, columnDefinition = "BIGINT COMMENT '出生日期'")
    private Long birthday;

    //车架号
    @ExcelData("车架号")
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车架号'")
    private String vin;

    //车架号
    @ExcelData("发动机号")
    @Column(name = "engine_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '发动机号'")
    private String engineNum;

    //车架号
    @ExcelData("车型年")
    @Column(name = "car_year", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车型年'")
    private String carYear;


    //车架号
    @ExcelData("车牌号")
    @Column(name = "plate_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车牌号'")
    private String plateNum;

    //车架号
    @ExcelData("车系")
    @Column(name = "series", length = 32, columnDefinition = "VARCHAR(256) COMMENT '车系'")
    private String series;

    //车架号
    @ExcelData("车型")
    @Column(name = "model", length = 32, columnDefinition = "VARCHAR(256) COMMENT '车型'")
    private String model;

    @ExcelData("车主身份证")
    @Column(name = "owner_identity", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车主身份证号'")
    private String ownerIdentity;


    //车架号
    @ExcelData("销售顾问")
    @Column(name = "saler", length = 32, columnDefinition = "VARCHAR(32) COMMENT '销售顾问'")
    private String saler;


    //车架号
    @ExcelData("城市")
    @Column(name = "city", length = 32, columnDefinition = "VARCHAR(256) COMMENT '城市'")
    private String city;

    //车架号
    @ExcelData("县区")
    @Column(name = "area", length = 32, columnDefinition = "VARCHAR(256) COMMENT '县区'")
    private String area;

    //车架号
    @ExcelData("详细地址")
    @Column(name = "address", length = 512, columnDefinition = "VARCHAR(512) COMMENT '详细地址'")
    private String address;


    //销售日期
    @ExcelData("销售日期")
    @Column(name = "buy_date", length = 32, columnDefinition = "BIGINT COMMENT '销售日期'")
    private Long buyDate;

    //联系人姓名
//    @ExcelData("联系人姓名")
    @Column(name = "contact_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '联系人姓名'")
    private String contactName;

    //联系人电话
    @ExcelData("联系人电话")
    @Column(name = "contact_phone", length = 32, columnDefinition = "VARCHAR(32) COMMENT '联系人电话'")
    private String contactPhone;

    //状态
    @Column(name = "status", length = 1, columnDefinition = "VARCHAR(1) COMMENT '状态'")
    private String status;

    //销售公司 ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '销售公司ID'")
    private String companyId;


    //确认人
    @Column(name = "confirmer", length = 32, columnDefinition = "VARCHAR(32) COMMENT '确认人'")
    private String confirmer;
    //确认时间
    @Column(name = "confirm_date", length = 22, columnDefinition = "BIGINT COMMENT '确认时间'")
    private Long confirmDate;

    //新车属性
    @ExcelData("新车属性")
    @Column(name = "car_property", length = 32, columnDefinition = "VARCHAR(32) COMMENT '新车属性'")
    private String carProperty;
    //销售属性
    @ExcelData("销售属性")
    @Column(name = "sales_property", length = 32, columnDefinition = "VARCHAR(32) COMMENT '销售属性'")
    private String salesProperty;

    public String getOwnerIdentity() {
        return ownerIdentity;
    }

    public void setOwnerIdentity(String ownerIdentity) {
        this.ownerIdentity = ownerIdentity;
    }

    public String getCarProperty() {
        return carProperty;
    }

    public void setCarProperty(String carProperty) {
        this.carProperty = carProperty;
    }

    public String getSalesProperty() {
        return salesProperty;
    }

    public void setSalesProperty(String salesProperty) {
        this.salesProperty = salesProperty;
    }

    public String getConfirmer() {
        return confirmer;
    }

    public void setConfirmer(String confirmer) {
        this.confirmer = confirmer;
    }

    public Long getConfirmDate() {
        return confirmDate;
    }

    public void setConfirmDate(Long confirmDate) {
        this.confirmDate = confirmDate;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerGender() {
        return ownerGender;
    }

    public void setOwnerGender(String ownerGender) {
        this.ownerGender = ownerGender;
    }

    public String getOwnerPhone() {
        return ownerPhone;
    }

    public void setOwnerPhone(String ownerPhone) {
        this.ownerPhone = ownerPhone;
    }

    public Long getBirthday() {
        return birthday;
    }

    public void setBirthday(Long birthday) {
        this.birthday = birthday;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public Long getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(Long buyDate) {
        this.buyDate = buyDate;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }



    public String getEngineNum() {
        return engineNum;
    }

    public void setEngineNum(String engineNum) {
        this.engineNum = engineNum;
    }

    public String getCarYear() {
        return carYear;
    }

    public void setCarYear(String carYear) {
        this.carYear = carYear;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getSeries() {
        return series;
    }

    public void setSeries(String series) {
        this.series = series;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSaler() {
        return saler;
    }

    public void setSaler(String saler) {
        this.saler = saler;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
